import { observable, action } from 'mobx'
import setSession from '../../uitls/session'
class addressStore {
    @observable useraddress = setSession.getStorage('useraddress') || {}
    @action
    setAddress(data) {
        setSession.setStorage('useraddress', data)
        this.useraddress = data
    }
}
export default addressStore